<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: linzichun
  Date: 2023/2/21
  Time: 14:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>

    <link rel="stylesheet" href="../css/top.css">
    <link rel="stylesheet" href="../css/common.css">

</head>
<body>

<!--头部-->
<div class="top justify-content-between">
    <div class="justify-content-center ">
        <div class="name ">
            <div>某某医疗&amp保健</div>
            <div>SO AND SO HEALTHCARE</div>
        </div>
    </div>
    <div class="nav justify-content-start align-items-center">

        <c:forEach items="${pageList}" var="page">
<%--            <div onclick="window.location.href='${page.href}'" >${page.name}</div>--%>
                <div onclick="window.location.href='${page.href}'" >${page.name}</div>
        </c:forEach>
<%--        <div onclick="window.location.href='${pageList.get(0).getHref()}'" >${pageList.get(0).getName()}</div>--%>
<%--        <div onclick="window.location.href='${pageList.get(1).getHref()}'">${pageList.get(1).getName()}</div>--%>
<%--        <div onclick="window.location.href='${pageList.get(2).getHref()}'">${pageList.get(2).getName()}</div>--%>
<%--        <div onclick="window.location.href='${pageList.get(3).getHref()}'">${pageList.get(3).getName()}</div>--%>
<%--        <div onclick="window.location.href='${pageList.get(4).getHref()}'">${pageList.get(4).getName()}</div>--%>
<%--        <div onclick="window.location.href='${pageList.get(5).getHref()}'">${pageList.get(5).getName()}</div>--%>
    </div>
</div>

</body>
</html>
